package com.itheima.infoManager.arraylistDemo.manager.dao;

import com.itheima.infoManager.arraylistDemo.manager.domain.Teacher;

public abstract class BaseTeacherDao {


    //添加
    public abstract boolean addTeacher(Teacher teacher);

    //返回数组——查看
    public abstract Teacher[] findAllTeacher();

    //删除
    public abstract boolean deleteTeacher(String delId);

    //根据id查找其学生对象所在数组索引处
    public abstract int getIndex(String id);

    //修改
    public abstract boolean updateTeacher(String upId, Teacher teachers1);
}
